package 设计模式.行为型模式.状态模式;

/**
 * @author MT
 * @date 2019-11-13 18:37
 */
public class ConcreteStateB extends State {
    @Override
    public void Handle(Context context) {
        System.out.println("当前状态是 B.");
        context.setState(new ConcreteStateA());
    }
}
